/*
 * @Author: guxf
 * @Date: 2021-11-25 12:47:22
 * @Description: 用户相关接口
 */
import request from "@/utils/request";

/**
 * @desc 新增或刪除
 */
export function getPresignedObjectUrl(query) {
  return request({
    method: "GET",
    url: '/business/minio/getPresignedObjectUrl',
    data: query
  });
}

export function downloadFile(query) {
  return request({
    method: "GET",
    url: '/applet/minio/downloadFile',
    data: query
  });
}
export function deleteFiles(query) {
  return request({
    method: "delete",
    url: '/applet/minio/deleteBatchFile',
    params: query
  });
}
